package com.yunfeisoft.business.model;

import com.applet.base.ServiceModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * ClassName: PmsComment
 * Description: 商品评价表
 *
 * @Author: Jackie liu
 * Date: 2020-06-02
 */
@Entity
@Table(name = "PMS_COMMENT")
public class PmsComment extends ServiceModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @Column
    private String productId;

    /**
     * 会员昵称
     */
    @Column
    private String memberNickName;

    /**
     * 产品名称
     */
    @Column
    private String productName;

    /**
     * 评价星数：0->5
     */
    @Column
    private Integer star;

    /**
     * 评价的ip
     */
    @Column
    private String memberIp;

    /**
     * 显示状态：0->不显示；1->显示
     */
    @Column
    private Integer showStatus;

    /**
     * 购买时的商品属性
     */
    @Column
    private String productAttribute;

    /**
     * -
     */
    @Column
    private Integer collectCount;

    /**
     * 阅读数量
     */
    @Column
    private Integer readCount;

    /**
     * 上传图片地址，以逗号隔开
     */
    @Column
    private String pics;

    /**
     * 评论用户头像
     */
    @Column
    private String memberIcon;

    /**
     * 回复数量
     */
    @Column
    private Integer replayCount;


    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getMemberNickName() {
        return memberNickName;
    }

    public void setMemberNickName(String memberNickName) {
        this.memberNickName = memberNickName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getMemberIp() {
        return memberIp;
    }

    public void setMemberIp(String memberIp) {
        this.memberIp = memberIp;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public String getProductAttribute() {
        return productAttribute;
    }

    public void setProductAttribute(String productAttribute) {
        this.productAttribute = productAttribute;
    }

    public Integer getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    public Integer getReadCount() {
        return readCount;
    }

    public void setReadCount(Integer readCount) {
        this.readCount = readCount;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    public String getMemberIcon() {
        return memberIcon;
    }

    public void setMemberIcon(String memberIcon) {
        this.memberIcon = memberIcon;
    }

    public Integer getReplayCount() {
        return replayCount;
    }

    public void setReplayCount(Integer replayCount) {
        this.replayCount = replayCount;
    }


}